<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>商品入库登记 - 物流管理系统</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<style media="all" type="text/css">@import "../../style/all.css";</style>
	<script type="text/javascript" src='../../script/common.js'></script>
	<script>
		 function checkId(){
			  var id_list=document.getElementById("id_list").value;
			  if(id_list=="" || id_list==null){
				alert("验货单号不能为空!");
				return false;
			  }
			  return true;
		 }
		 function checkIn(obj){
		      var numIn=document.getElementById(obj).value;
			  if(numIn=="" || numIn==null){
				 alert("实际入库数量不能为空");
				 return false;
			  }
			  else if(numIn==0){
				 alert("实际入库数量不能0");
				 return false;
			  
			  }
			  else if(isNaN(numIn)){
			     alert("实际入库数量不是数字!");
				 return false;
			  }
				 window.location='in_goods_depart.html';
			     return true;
		 }
    </script>
</head>
<body style="background: none">
	<div class="top-bar">
		<!--a href="#" class="button">取 消</a><a href="#" class="button">保 存</a-->
		<h1>商品入库登记</h1>
		<div class="breadcrumbs">
			<div class="button-bar">
				<input type="button" name="help" value="帮助" class="button"  onclick="help('物流管理系统')"/>
				<input type="button" name="select" value="查询" class="button" onclick="return checkId()"/>
			</div>
			<a href="../../index.html" target="_top"  >首页</a> /
			<a href="../index.html" target="_top"  >库房管理</a> 
		</div>
	</div>
    <div class="select-bar">
	  <table class="select-table">
		<tr>
			<th>验货单号</th>
			<td><input type="text"  id="id_list" class="text"/><span style="color:red">*</span</td>
			<th></th>
			<td></td>
			<th></th>
			<td></td>
		</tr>
		
					 
	  </table>
	  <label></label>
    </div>
    
    <form>
		<div class="table">
			<img src="../../style/img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
			<img src="../../style/img/bg-th-right.gif" width="7" height="7" alt="" class="right" />
			<table class="listing form" cellpadding="0" cellspacing="0">
				
				<tr>
					<th class="first">验货单号</th>
					<th>商品编号</th>
					<th>商品名称</th>
					<th>型号</th>
					<th>供应商</th>
					<th>厂商</th>
					<th>入库数量</th>
					<th>实际入库数量</th>
					<th>操作</td>
				</tr>
				<tr>
				   <td class="first">86542221</td>
				   <td>SN9696</td>
				   <td>索尼数码相机</td>
				   <td>AX001</td>
				   <td>大连索尼代理商</td>
				   <td>索尼</td>	
				   <td>50</td>
				   <td><input type="text" value="50" size="2" id="num_in1"></td>
				   <td><img title="入库" onclick="return checkIn('num_in1')" src="../../style/img/Fugue_1031.png"/></td>
				</tr>
				<tr>
				   <td class="first">86542221</td>
				   <td>SN9696</td>
				   <td>索尼数码相机</td>
				   <td>AX001</td>
				   <td>大连索尼代理商</td>
				   <td>索尼</td>	
				   <td>50</td>
				   <td><input type="text" value="50" size="2" id="num_in2"></td>
				   <td><img title="入库" onclick="return checkIn('num_in2')" src="../../style/img/Fugue_1031.png"/></td>
				</tr>
				<tr>
				   <td class="first">86542221</td>
				   <td>SN9696</td>
				   <td>索尼数码相机</td>
				   <td>AX001</td>
				   <td>大连索尼代理商</td>
				   <td>索尼</td>	
				   <td>50</td>
				   <td><input type="text" value="50" size="2" id="num_in3"></td>
				   <td><img title="入库" onclick="return checkIn('num_in3')" src="../../style/img/Fugue_1031.png"/></td>
				</tr>
				<tr>
				   <td class="first">86542221</td>
				   <td>SN9696</td>
				   <td>索尼数码相机</td>
				   <td>AX001</td>
				   <td>大连索尼代理商</td>
				   <td>索尼</td>	
				   <td>50</td>
				   <td><input type="text" value="50" size="2" id="num_in4"></td>
				   <td><img title="入库" onclick="return checkIn('num_in4')" src="../../style/img/Fugue_1031.png"/></td>
				</tr>
			</table>
			<div class="pager">
				共59条记录 每页<input value="10" size="2" />条
				第<input value="1" size="2"/>页/共5页
				<a href="#">第一页</a>
				<a href="#">上一页</a>
				<a href="#">下一页</a>
				<a href="#">最后一页</a>
				转到<input value="1" size="2" />页
				<button width="20" onclick="window.location.reload();">GO</button>
			</div>
		</div>
	</form>
</body>
</html>
